projects
/
project
/
bcm63xx
/
atf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a468e75
)
plat: intel: Add MMC OCR voltage information for initialization
author
Tien Hock, Loh
<
[email protected]
>
Fri, 8 Mar 2019 01:26:24 +0000
(09:26 +0800)
committer
Tien Hock, Loh
<
[email protected]
>
Fri, 8 Mar 2019 01:26:24 +0000
(09:26 +0800)
MMC stack needs OCR voltage information for the platform to initialize
MMC controller correctly.
Signed-off-by: Tien Hock, Loh <
[email protected]
>
plat/intel/soc/stratix10/bl2_plat_setup.c
patch
|
blob
|
history
diff --git
a/plat/intel/soc/stratix10/bl2_plat_setup.c
b/plat/intel/soc/stratix10/bl2_plat_setup.c
index 91e3b0ac51ee494de33ecfddeb9c5511011c18a0..aa68906dac9def9e8b3fd2607ea782273590ae5c 100644
(file)
--- a/
plat/intel/soc/stratix10/bl2_plat_setup.c
+++ b/
plat/intel/soc/stratix10/bl2_plat_setup.c
@@
-99,6
+99,7
@@
void bl2_el3_plat_arch_setup(void)
dw_mmc_params_t params = EMMC_INIT_PARAMS(0x100000);
info.mmc_dev_type = MMC_IS_SD;
+ info.ocr_voltage = OCR_3_3_3_4 | OCR_3_2_3_3;
switch (boot_source) {
case BOOT_SOURCE_SDMMC: